package com.macro.client.service.impl;

import com.macro.client.service.UmsAdminCacheService;
import com.macro.mall.model.UmsAdmin;
import com.macro.mall.model.UmsMember;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.data.redis.core.StringRedisTemplate;
import org.springframework.stereotype.Service;

/**
 * @ClassName UmsAdminCacheServiceImpl
 * @Description 描述
 * @Author bai
 * @Date 2024/10/22 19:45
 */

@Service
public class UmsAdminCacheServiceImpl implements UmsAdminCacheService {

    @Autowired
    private StringRedisTemplate redisTemplate;

    @Value("${redis.database}")
    private String REDIS_DATABASE;
    @Value("${redis.expire.common}")
    private Long REDIS_EXPIRE;
    @Value("${redis.key.admin}")
    private String REDIS_KEY_ADMIN;


    @Override
    public UmsAdmin getAdmin(Long adminId) {
       return null;
    }

    @Override
    public void setAdmin(UmsMember umsMember) {

    }


}
